<template>
  <div class="wrapper">
    <div class="template-title">
      <h2 class="template-hot">热门模板</h2>
      <a class="template-all" href="">查看全部模板>></a>
    </div>
    <div class="template-style">
      <a class="template-item" href="">
        <div class="template health"></div>
        <div class="text">身体健康调查情况</div>
      </a>
      <a class="template-item" href="">
        <div class="template social"></div>
        <div class="text">社交网站满意度</div>
      </a>
      <a class="template-item" href="">
        <div class="template hea"></div>
        <div class="text">数码家电类产品满意度</div>
      </a>
      <a class="template-item" href="">
        <div class="template iq"></div>
        <div class="text">国际标准智商测试</div>
      </a>
      <a class="template-item" href="">
        <div class="template shopping"></div>
        <div class="text">团购网站用户满意度</div>
      </a>
      <a class="template-item" href="">
        <div class="template game"></div>
        <div class="text">PC端游、页游满意度</div>
      </a>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>

.template-title {
  width: 1000px;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 38px 0 14px;
  margin-left: auto;
  margin-right: auto;
}

.template-hot {
  font-size: 20px;
  font-weight: 400;
}

.template-all {
  font-size: 13px;
  color: #58a6e7;
  text-decoration: none;
}

.template-style {
  width: 1000px;
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

.template {
  width: 140px;
  height: 140px;
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.text {
  width: 140px;
  height: 21px;
  margin: 13px 0 0;
  font-size: 14px;
  color: #333;
  background: #fff;
}

.template-item {
  text-decoration: none;
  background: #fafafa;
}

.template-item:hover .text {
  color: #33ccff;
}

.health {
  background: url('../assets/hotopic1.png') no-repeat center;
}

.social {
  background: url('../assets/hotopic2.png') no-repeat center;
}

.hea {
  background: url('../assets/hotopic3.png') no-repeat center;
}

.iq {
  background: url('../assets/hotopic4.png') no-repeat center;
}

.shopping {
  background: url('../assets/hotopic5.png') no-repeat center;
}

.game {
  background: url('../assets/hotopic6.png') no-repeat center;
}
</style>
